<html>
<head>
</head>
<body>
<script language="javascript">
function prt()
{
	var btn = document.getElementById("btn_ok");
	var x = document.getElementById("coor_X");
	var y = document.getElementById("coor_Y");
	var cmd = document.getElementById("cmd");
	var img_desktop = document.getElementById("img_desktop");
	var img_table = document.getElementById("img_table");
	
	
	var img_X = event.pageX - img_table.offsetLeft;// + window.pageXOffset
	var img_Y = event.pageY - img_table.offsetTop;//- img_desktop.offsetTop;//+ window.pageYOffset 
	
	//alert(event.pageY + " " + cont.clientHeight + " " + cont.offsetTop);
	//alert(img_X + " " + img_Y);
	//alert("clientX="+event.clientX+"screenX="+event.pageX+" offsetLeft="+img_desktop.offsetLeft+" pageXOffset="+window.pageXOffset);
	//alert("clientY="+event.clientY+"screenY="+event.pageY+" offsetTop="+img_desktop.offsetTop+" pageYOffset="+window.pageYOffset);
	
	x.value = img_X;
	y.value = img_Y;
	
	btn.click();
}

function bksp_fn()
{
	var btn = document.getElementById("btn_ok");
	var bksp = document.getElementById("bksp");
	
	bksp.value = "on"
	btn.click();
}

function alt_shift_fn()
{
	var btn = document.getElementById("btn_ok");
	var alt_shift = document.getElementById("alt_shift");
	
	alt_shift.value = "on"
	btn.click();
}

function ctrl_shift_fn()
{
	var btn = document.getElementById("btn_ok");
	var ctrl_shift = document.getElementById("ctrl_shift");
	
	ctrl_shift.value = "on"
	btn.click();
}

function lwin_R_fn()
{
	var btn = document.getElementById("btn_ok");
	var lwin_R = document.getElementById("lwin_R");
	
	lwin_R.value = "on"
	btn.click();
}

function enter_fn()
{
	var btn = document.getElementById("btn_ok");
	var enter = document.getElementById("enter");
	
	enter.value = "on"
	btn.click();
}

function refresh_fn()
{
	var btn = document.getElementById("btn_ok");
	var refresh = document.getElementById("refresh");
	
	refresh.value = "on"
	btn.click();
}
</script>
<div id="frm_cont">
<form action="index.html" method="get" id="frm">
<input name="cmd" id="cmd" type="text">
right<input name="rb" type="checkbox">
dbl<input name="dbl" type="checkbox">
<input type="button" onclick = "refresh_fn()" value="REFRESH">
<input id="refresh" name="refresh" type="hidden">
<input name="coor_X" id="coor_X" type="hidden">
<input name="coor_Y" id="coor_Y" type="hidden">
<input type="button" onclick = "bksp_fn()" value="BKSP">
<input id="bksp" name="bksp" type="hidden">
<input type="button" onclick = "alt_shift_fn()" value="ALT_SHIFT">
<input id="alt_shift" name="alt_shift" type="hidden">
<input type="button" onclick = "ctrl_shift_fn()" value="CTRL_SHIFT">
<input id="ctrl_shift" name="ctrl_shift" type="hidden">
<input type="button" onclick = "lwin_R_fn()" value="WIN_R">
<input id="lwin_R" name="lwin_R" type="hidden">
<input type="button" onclick = "enter_fn()" value="ENTR">
<input id="enter" name="enter" type="hidden">
<input id="btn_ok" type="submit" value="OK">
</form>
</div>

<table cellpadding=0 cellspacing=0 border=0 id="img_table">
<tr rowspan=0>
<td><img src="pic\desktop_00.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_01.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_02.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_03.png" onclick = "prt()" id="img_desktop"></td>
</tr>
<tr rowspan=0>
<td><img src="pic\desktop_04.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_05.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_06.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_07.png" onclick = "prt()" id="img_desktop"></td>
</tr>
<tr rowspan=0>
<td><img src="pic\desktop_08.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_09.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_10.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_11.png" onclick = "prt()" id="img_desktop"></td>
</tr>
<tr rowspan=0>
<td><img src="pic\desktop_12.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_13.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_14.png" onclick = "prt()" id="img_desktop"></td>
<td><img src="pic\desktop_15.png" onclick = "prt()" id="img_desktop"></td>
</tr>
</table>

</body>
</html>









